package my.test;

import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * Created by gc on 2016/8/10.
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath*:applicationContext.xml"})
public class BaseConfig extends AbstractJUnit4SpringContextTests {

//    @Autowired
//    VoteService voteService;
//
//    @Test
//    public void testGetCurRank(){
//        Long voteid=10000L;
//        Long curRank = voteService.getCurRank(voteid);
//        System.out.println(curRank);
//    }
}
